#ifndef _HANDLERS_MAIN_PAGE_
#define _HANDLERS_MAIN_PAGE_

#include <iostream>

#include "TemplateReader.h"
#include "BaseHandler.h"
#include "BasePage.h"

#include <boost/unordered_map.hpp>

namespace Handlers
{
  class MainPage : public FMVC::BaseHandler, public FMVC::BasePage
  {
    public:
    virtual void Proccess(std::ostream& headers,std::ostream& out,const FMVC::Params& params)
    {
      TemplateReader templateReader;            
      headers << "Content-type: text/html\r\n";
      out << templateReader.ReadTemplate("Main");
    }    
  };
};
#endif
